const router = require('express').Router();
// const list = require('../mock/category.json');
const userService = require('../services/user.js');

router.get('/list', async (req, res) => {
  const results = await userService.getGoodsList()
  res.send({
    data: { list: results },
    message: "success",
    status: 200
  })
})

module.exports = router;